MIPS: Loogson: Make enum loongson_cpu_type more clear
authorHuacai Chen <chenhc@lemote.com>
Thu, 22 Jun 2017 15:06:54 +0000 (23:06 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)
commit7491111618ebbe4a8a84777a851192e98b5f95ec
tree66df5157c9a3d9f2b7cf68673f71f1ac54a73309
parent34f8aee13de77d1bb15a5044bb541a8748ecf258
MIPS: Loogson: Make enum loongson_cpu_type more clear

Sort enum loongson_cpu_type in a more reasonable manner, this makes the
CPU names more clear and extensible. Those already defined enum values
are renamed to Legacy_* for compatibility.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16591/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Gbp-Pq: Topic features/mips
Gbp-Pq: Name mips-loogson-make-enum-loongson_cpu_type-more-clear.patch
arch/mips/include/asm/mach-loongson64/boot_param.h
arch/mips/loongson64/common/env.c